export default {
    data() {
        return {
            distance: 0
        };
    },
    mixins: [],
    props: {},
    beforeMount() {
        this.offsetMargin();
    },
    methods: {
        offsetMargin() {
            const { windowHeight: t, screenHeight: e } = uni.getSystemInfoSync();
            this.setData({
                distance: e - t
            });
        }
    }
};
